package com.ruoyi.business.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 小程序用户导入
 */
@Data
@ApiModel("小程序用户导入VO")
public class TbUserImportVO implements Serializable {

    /**
     * 手机号
     */
    @ApiModelProperty("手机号")
    @NotNull(message = "手机号不能为空")
    @ExcelProperty(value = "手机号")
    private String mobile;

    /**
     * 昵称
     */
    @ApiModelProperty("昵称")
    @ExcelProperty(value = "昵称")
    private String nickname;

    /**
     * 姓名
     */
    @ApiModelProperty("姓名")
    @ExcelProperty(value = "姓名")
    private String realName;

    /**
     * 用户性别
     */
    @ExcelProperty(value = "用户性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_user_sex")
    private Integer gender;


    /**
     * 帐号状态（0正常 1停用）
     */
    @ExcelProperty(value = "帐号状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
    private Integer status;


    /**
     * koc 等级名称
     */
    @ExcelProperty(value = "等级名称", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "app_koc_level")
    private Long kocLevelId;

}
